Consistent filesystem interaction across GHC versions.
